Admin only pages
Users must login to see a set of admin only pages in the Centurion UI. The admin pages are for diagnostic purposes only and provide additional insight to the data used by the Centurion ecosystem.
Contract addresses
Displays the contract deploymentAddresses from the @api3/contracts package. In addition to the addresses from @api3/contracts the addresses for AirseekerRegistry are computed and added to the display.
Validator symbols
Display the symbols available from the validators:
- signed_data
- nodary_signed_api
- redstone_api
- pyth
This page is useful to determine if a validator can be used to validate any API3 feed (dAPI). Note that signed_data will always support all API3 feeds.
Chains JSON
Displays the contents of the @api3/chains package via a call to the @api3/dapi-management package currently in use by the backend. View the complete dataset in a separate tab for browsers that can format JSON.
Feeds JSON
Displays the contents of the dapis constant in the @api3/dapi-management package currently in use by the backend. View the complete dataset in a separate tab for browsers that can format JSON.
Configuration files
Workers can maintain configuration files that change their behavior in the database. The files are read each time the worker runs. This allows changing the work performed without restarting the Heroku instance each time a static file is updated.
Following is a list of the current configuration files.
external-wallets(externalWalletsWorker)
Edit a configuration file.
- Login to the Centurion UI as an admin.
- Select Configuration files from the sidebar menu.
- Select the desired file name from the pick list.
- Make desired changes to the JSON file and save.
Create a configuration file
The Centurion UI only edits an existing configuration file. To add a file use psql after connecting to the database.
insert into CONFIGURATIONS (name) VALUES ('file-name>');
Delete a configuration file
The Centurion UI only edits an existing configuration file. To delete a file use psql after connecting to the database.
delete from CONFIGURATIONS where name = '<file-name>';
Loki
A simpler UI to access the Loki logs records for Centurion. The log records are also available on Grafana.